<template>
  <view><choose-room v-for="(item, index) in 10" @changeclick="onClick" :key="index" :title="houseBuilding + `${index + 100}`"></choose-room></view>
</template>

<script>
export default {
  data() {
    return {};
  },
  computed: {
    houseBuilding() {
      return this.$store.state.room.houseBuilding;
    }
  },
  methods: {
    onClick(e) {
      console.log(e);
      this.$store.commit('room/getHouseRoom', e);
      uni.navigateTo({
        url: '/pkg-house/house-information/house-information'
      });
    }
  }
};
</script>

<style></style>
